<template>
  <div id="app">
    <Header></Header>
    <router-view/>
    <Footer></Footer>
    <GoTop></GoTop>
  </div>
</template>

<script>
export default {
  name: 'App',
  data () {
    return {
      isShowBack: false
    }

  },
  watch:{
    '$route':function(){
      let that = this
      if(that.$route.name == 'home'){
        that.isShowBack = false;
      }else{
        that.isShowBack = true;
      }
    }
  },
  mounted() {
  }
}
</script>

<style>
#app{
  min-width: 1320px;
}
</style>
